import { exColorPicker, exInputNumber, exSetChartColor } from '@ve/common/components/extension'
export default {
  VERSION: '202200927',
  type: 'uiCardDeatil',
  name: '卡片详情',
  icon: 'checkbox-blank-line',
  svg: 'shilikapian',
  extension: {
    titleColor: exColorPicker('标题颜色', '#fff'),
    titleTop: exInputNumber('标题上边距', 31, 1, 100000),
    boxInnerHeight: exInputNumber('分辨率高', 492, 1, 100000),
    // itemName: exInput('标签的key', ''),
    // itemValue: exInput('结果的key', ''),
    radius: exInputNumber('圆角', 5, 0, 100),
    topMargin: {
      type: 'exInputNumber',
      name: '上外边距',
      value: 0,
    },
    rightMargin: {
      type: 'exInputNumber',
      name: '右外边距',
      value: 0,
    },
    bottomMargin: {
      type: 'exInputNumber',
      name: '下外边距',
      value: 0,
    },
    leftMargin: {
      type: 'exInputNumber',
      name: '左外边距',
      value: 0,
    },
    bgColor: exSetChartColor('背景颜色', '#222b48'),
    highlightSize: exInputNumber('高亮字体大小', 31, 0, 50),
  },
  //交互
  interaction: [],
  data: {},
}
